// Vehicle ManagementView.cpp : implementation of the CVehicleManagementView class
//

#include "stdafx.h"
#include "Vehicle Management.h"

#include "Vehicle ManagementDoc.h"
#include "Vehicle ManagementView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CVehicleManagementView

IMPLEMENT_DYNCREATE(CVehicleManagementView, CBCGPFormView)

BEGIN_MESSAGE_MAP(CVehicleManagementView, CBCGPFormView)
END_MESSAGE_MAP()

// CVehicleManagementView construction/destruction

CVehicleManagementView::CVehicleManagementView()
	: CBCGPFormView(CVehicleManagementView::IDD)
{
	// TODO: add construction code here

}

CVehicleManagementView::~CVehicleManagementView()
{
}

void CVehicleManagementView::DoDataExchange(CDataExchange* pDX)
{
	CBCGPFormView::DoDataExchange(pDX);
}

BOOL CVehicleManagementView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CBCGPFormView::PreCreateWindow(cs);
}

void CVehicleManagementView::OnInitialUpdate()
{
	CBCGPFormView::OnInitialUpdate();
// 	GetParentFrame()->RecalcLayout();
// 	ResizeParentToFit();

}


// CVehicleManagementView diagnostics

#ifdef _DEBUG
void CVehicleManagementView::AssertValid() const
{
	CBCGPFormView::AssertValid();
}

void CVehicleManagementView::Dump(CDumpContext& dc) const
{
	CBCGPFormView::Dump(dc);
}

CVehicleManagementDoc* CVehicleManagementView::GetDocument() const // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CVehicleManagementDoc)));
	return (CVehicleManagementDoc*)m_pDocument;
}
#endif //_DEBUG


// CVehicleManagementView message handlers
